package com.shycloud.mido.organ.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.opter.api.entity.OptOperator;
import com.shycloud.mido.organ.api.entity.OptOrg;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 运营商机构关系表 Mapper 接口
 * </p>
 *
 * @author lxy
 * @since 2020-2-20
 */
public interface OptOrgMapper extends BaseMapper<OptOrg> {

	OptOperator getOptById(@Param("optId") Integer optId);

	int updateOpterUnPreStorageCount(@Param("unPreStorageCount") int unPreStorageCount, @Param("optId") Integer optId);
}
